package com.dingup.paike.dao;


import com.dingup.paike.model.feedback.TsFeedbackStudentEvaluate;
import com.dingup.paike.model.feedback.TsFeedbackStudentEvaluateWithBLOBs;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TsFeedbackStudentEvaluateMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TsFeedbackStudentEvaluateWithBLOBs record);

    int insertSelective(TsFeedbackStudentEvaluateWithBLOBs record);

    TsFeedbackStudentEvaluateWithBLOBs selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TsFeedbackStudentEvaluateWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(TsFeedbackStudentEvaluateWithBLOBs record);

    int updateByPrimaryKey(TsFeedbackStudentEvaluate record);

    TsFeedbackStudentEvaluateWithBLOBs selectStudentEvaluate(@Param("feedbackId") Integer feedbackId, @Param("studentId") String studentId);

    List<TsFeedbackStudentEvaluateWithBLOBs> getByFeedbackId(Integer feedBackId);
}